import 'package:app_30/json/base/json_convert_content.dart';
import 'package:app_30/models/referral_entity.dart';

referralEntityFromJson(ReferralEntity data, Map<String, dynamic> json) {

  if (json['user'] != null) {
    data.user = json['user'].toString();
  }

  if (json['jine'] != null) {
    data.jine = json['jine'].toString();
  }

  if (json['vip'] != null) {
    data.vip = json['vip'].toString();
  }

  if (json['mac'] != null) {
    data.mac = json['mac'].toString();
  }

  if (json['regip'] != null) {
    data.regip = json['regip'].toString();
  }

  if (json['regtime'] != null) {
    data.regtime = json['regtime'].toString();
  }

  if (json['tjrjsstatus'] != null) {
    data.tjrjsstatus = json['tjrjsstatus'].toString();
  }

  if (json['fenceng'] != null) {
    data.fenceng = json['fenceng'].toString();
  }

  if (json['iparray'] != null) {
    data.fcje = json['fcje'].toString();
  }

  return data;
}

